<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="apple-mobile-web-app-capable" content="yes">
    <meta name="apple-mobile-web-app-status-bar-style" content="black">
    <meta name="format-detection" content="telephone=no">
    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0, shrink-to-fit=no, viewport-fit=cover">
    <title>胡雄涛-3507</title>
    <script src="./front/iconfont.js"></script>
    <link rel="stylesheet" href="./front/iconfont.css">
    <style>
        body,
        h2,
        p,
        h1,
        h3,
        h4,
        h5,
        h6,
        ul,
        form,
        dl,
        dd,
        dt {
            margin: 0;
            padding: 0;
        }
    
        ul {
            list-style: none;
        }
    
        a {
            text-decoration: none;
            color: #000;
        }
    
        img {
            border: none;
            display: block;
        }
    
        a:visited {
            color: #000;
        }
    
        .icon {
            width: 1em;
            height: 1em;
            vertical-align: -0.15em;
            fill: currentColor;
            overflow: hidden;
        }
    
        #main {
            overflow: hidden;
            margin: 0 auto;
            min-width: 640px;
            width: 640px;
            display: flex;
        }
    
        /* 尾 */
        .bnav {
            position: fixed;
            left: 0;
            bottom: 0;
            background-color: #fff;
            width: 100%;
            height: 20vw;
            border-top: 1px solid #e3e3e3;
            z-index: 5;
        }
    
        .bnav li {
            width: 20%;
            text-align: center;
        }
    
        .bnav>ul {
            display: flex;
        }
    
        .bnav .icon {
            font-size: 10vw;
            margin: 5px 0;
        }
    
        .bnav p {
            color: #000;
            font-size: 4vw;
            line-height: 26px;
            letter-spacing: 3px;
        }
    
        /* 头 */
        .tnav,
        .tnav1 {
            left: 0;
            top: 0px;
            width: 100%;
            height: 40px;
            padding-left: 3%;
            background-color: #fff;
            position: fixed;
            display: flex;
            align-items: center;
            z-index: 5;
        }
    
        .tnav span {
            width: 14%;
            text-align: center;
            color: #000;
            line-height: 26px;
            letter-spacing: 3px;
            font-size: 3vw;
        }
    
        .tnav1 {
            left: 0;
            top: 40px;
            width: 100%;
            height: 50px;
            position: fixed;
            display: flex;
            align-items: center;
            z-index: 5;
        }
    
        .tnav1_1 {
            display: flex;
            width: 100%;
            align-items: center;
        }
    
        .tnav1_1>li:nth-of-type(1) {
            width: 10%;
            margin: 0 3%;
        }
    
        .tnav1_1>li:nth-of-type(2) {
            width: 50%;
            margin: 0 5% 0 0;
        }
    
        .tnav1_1>li:nth-of-type(3) {
            width: 20%;
            margin: 0 5%;
        }
    
        .tnav1_1 img {
            width: 40px;
            height: 40px;
        }
    
        .tnav1_1 button {
            background-color: #ff613e;
            border-radius: 10px;
            border: 0;
            color: #fff;
    
        }
    
        /* 内容 */
    
    
    
    
    
        .content {
            width: 100%;
            position: absolute;
            top: 40px;
            list-style: none;
            display: flex;
            flex-wrap: wrap;
        }
    
        .top_search {
            width: 90%;
            height: 40px;
            display: flex;
            position: fixed;
            top: 40px;
            padding-left: 5%;
            padding-right: 5%;
            justify-content: space-between;
            align-items: center;
            background-color: #fff;
            z-index: 4;
        }
    
        .top_left {
            width: 70%;
            height: 30px;
        }
    
        .search {
            width: 100%;
            height: 30px;
            border: 2px solid #000;
            border-radius: 30px;
            padding-left: 50px;
        }
    
        .search_icon {
            position: absolute;
            z-index: 5;
            top: 13px;
            left: 50px;
            font-size: 16px;
    
        }
    
        .top_right {
            width: 30%;
            display: flex;
            height: 40px;
        }
    
        .top_right .ticon {
            width: 50%;
            height: 40px;
            border-radius: 30px;
            background-color: #eee;
        }
    
        .fenlei_icon {
            margin: 5px;
            font-size: 25px;
        }
    
    
    
        .new {
            width: 100%;
            height: 20px;
            line-height: 20px;
            margin: 10px 5% 0;
    
        }
    
        .new h2 {
            font-size: 16px;
        }
    
        .content ul {
            width: 100%;
            position: absolute;
            top: 50px;
            list-style: none;
            display: flex;
            flex-wrap: wrap;
        }
    
        .content_text {
            width: 90%;
            margin: 5% 5% 0 5%;
            height: 50px;
        }
    
        .content_text p {
    
            font-size: 20px;
        }
    
        .content_text a {
            font-size: 14px;
            color: #aaa;
        }
    
        .content .content_li {
            width: 40%;
            height: 320px;
            background-color: #e9e6e6;
            border-radius: 10px;
            margin: 5vw 5%;
            position: relative;
    
        }
    
        .content .tj {
            position: absolute;
            top: 10;
            right: 0;
            background-color: #303b2d;
            width: 30px;
            height: 20px;
            text-align: center;
            line-height: 20px;
            border-radius: 0px 10px;
            font-size: 12px;
    
        }
    
        .content .iconfont {
            font-size: 20px;
            color: #fff;
        }
    
        .content .iconfont2 {
    
            color: #f00;
        }
    
        .content img {
            width: 100%;
            height: 85%;
            border-radius: 10px 10px 0 0;
        }
    
        .content h4 {
            margin: 3px 10px;
            font-size: 16px;
        }
    
        .content span {
            margin: 2px 10px;
            font-size: 14px;
            color: #aaa;
        }
    
        .null {
            width: 100%;
            height: 100px;
    
        }
    </style>
</head>
<body>
    <div id="main">
        <!-- 头部导航栏 -->
        <div class="tnav">
            <!-- 头部导航栏上面的文字 -->
            <span class="warp_text">漫画</span>
            <span>动画</span>
            <span>小说</span>
        </div>
        <div class="tnav1">
            <ul class="tnav1_1">
                <li>
                    <img src="./img/wd_logo.jpg" alt="">
                    
                </li>
                <li>
                    <p>同步阅读进展,追更嗨不停</p>
                </li>
                <li>
                    <button> 立刻登录</button>
                </li>
            </ul>
        </div>

        <div class="content ">
            <ul>
                <div class="content_text">
                    <p>猜你喜欢</p>
                    <a>为您推荐专属漫画</a>
                </div>
                <ul class="as">
                    <!-- JSON:添加jryxtoparr -->
                </ul>
                
                <div class="null">&nbsp;</div>
            </ul>
            
        </div>
        <!-- 底部导航栏 -->
        <nav class="bnav">
                <ul>
                    <li>
                        <a href="./home_page.html">
                            <svg class="icon" aria-hidden="true">
                                <use xlink:href="#icon-zhuye"></use>
                            </svg>
                            <p>推荐</p>
                        </a>
                    </li>
                    <li>
                        <a href="#">
                            <svg class="icon" aria-hidden="true">
                                <use xlink:href="#icon-quanzi"></use>
                            </svg>
                            <p>圈子</p>
                        </a>
                    </li>
                    <li>
                        <a href="#">
                            <svg class="icon" aria-hidden="true">
                                <use xlink:href="#icon-tuiguangdashiVIP"></use>
                            </svg>
                            <p>会员</p>
                        </a>
                    </li>
                    <li>
                        <a href="./bookShelf.html">
                            <svg class="icon" aria-hidden="true">
                                <use xlink:href="#icon-jiarushujia_01"></use>
                            </svg>
                            <p>书架</p>
                        </a>
                    </li>
                    <li>
                        <a href="./b.html">
                            <svg class="icon" aria-hidden="true">
                                <use xlink:href="#icon-xiepinglun"></use>
                            </svg>
                            <p>我的</p>
                        </a>
                    </li>
                </ul>
        </nav>
        
    </div>
    <script>
        var jryxtoparr = [{
            img: './img/book1.jpg',
            icon:'iconfont icon-aixin',
            name: '19天',
            type: '脑洞  青春'
        }, {
            img: './img/book2.png',
            icon:'iconfont icon-aixin',
            name: '36D道侣逼我双修',
            type: '重生  女神'
        }, {
            img: './img/1.jpg',
            icon:'iconfont icon-aixin',
            name: '斗破苍穹',
            type: '古风  战斗'
        }, 
        {
            img: './img/book3.jpg',
            icon:'iconfont icon-aixin',
            name: '我在异族开后宫',
            type: '女神  妖怪'
        },
        {
            img: './img/4.jpg',
            icon:'iconfont icon-aixin',
            name: '大奉打更人',
            type: '穿越  女神'
        },];
        var content_li = document.querySelector('.content .as');
        for (v of jryxtoparr) {
            var nli = document.createElement('li');
            nli.innerHTML = `
                        <!-- 单个模块 -->
                        <div class="tj"><div class="${v.icon}"></div></div>
                        <img src="${v.img}" alt="">
                        <h4>${v.name}</h4>
                        <span>${v.type}</span>
                            `;
            nli.classList.add('content_li');
            content_li.appendChild(nli);
        };
        var main=document.querySelector("#main");
        var content =main.querySelector(".content");
        var tj=content.querySelectorAll(".tj");
        var iconfont=content.querySelectorAll(".tj div");

        for (var i = 0; i < iconfont.length; i++) {
                iconfont[i].onclick = function () {
                    if (this.classList.contains("iconfont2")) {
                        this.classList.remove("iconfont2")
                    } else {
                        this.classList.add("iconfont2");
                    }
                }
            }
            
            
    </script>
</body>
</html>